package masterlink.futures.dao;

import java.util.List;

import masterlink.futures.vo.CloseDate;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

@Repository
@Qualifier("CloseDate")
public class CloseDateDao extends TimesTenTemplateDao{
	private static final String SPMONTH="from CloseDate where edate>=to_number(TO_CHAR(SYSDATE,'yyyyMMdd'),'99999999')";
	@SuppressWarnings("unchecked")
	public List<CloseDate> findFututresCloseDate(){
		return (List<CloseDate>) super.findByHql(SPMONTH) ;
	}
}
